package org.x4444;

import javax.ejb.EJB;
import javax.ejb.Stateless;

@Stateless
public class ClientAccountBean implements ClientAccount {

	@EJB
	Account account;

	@Override
	public String getName() {
		if (account == null) {
			return "ClientAccount";
		} else {
			return "ClientAccount: " + account.getName();
		}
	}
}
